This is the README file for the code employed in Section 5 of Fang and Santos (2018). The files included are:

1) ProcessMORG: This file pre-processes the MORG files, which were downloaded from the NBER at http://www.nber.org/data/morg.html. The output is CleanMORG.mat, which is the main data file used in the rest of the analysis. The RAWmorg files read by the program are the original NBER STATA files transfered to matlab format by StatTransfer
2) ObtainEstimators: Computes the residual wage variance and quantiles (and their bootstrap analogues) that will be used for our analysis.
3) HypConv: Returns the pvalue for testing the null hypothesis that a variable x satisfies Ax <= b
4) AnalysisWage: This code runs the hypothesis tests. Most of the hypothesis are testing whether the trend x satisfies Ax <= b, and simply pass the appropriate A and b to the function HypConv
